import QtQuick 2.0
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Layouts 1.1
import org.qtproject.qtquick 1.0

import "../common"
import "../configure"

Rectangle {
    id: id_errorPhoneNo
    width: 480 * m_ratio
    height: 640 * m_ratio

    color: "steelblue"

    property string imageSource: "qrc:/image/resouces/images/drawable-hdpi/replay-"
                                 + ApplicationInfo.dpi
                                 + "/ic_action_refresh.png";

    property real m_ratio : ApplicationInfo.ratio;


    Column {
        id: id_waiting
        spacing: 20 * m_ratio

        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter

        visible: true
        Row {
            Text {
                width: id_errorPhoneNo.width
                text: qsTr("Your phone number is not correcte...or you make more than 10 times a day...");
                verticalAlignment: Text.AlignVCenter
                horizontalAlignment: Text.AlignHCenter

                color: "#000000"
                font.family: "Arial"
                wrapMode: Text.WordWrap
                font.pixelSize: 20 * m_ratio;

            }
        }
    }

}
